Package com. orange. webcom. sdkv2
Exposes the main public API of the Webcom SDK.
Types
Canceled
Link copied to clipboard
Generic event to be notified when a subscription is canceled, that is deliberately stopped.
Notifiable
Link copied to clipboard
interface Notifiable
Content copied to clipboard
Represents an event that can be notified, ie received by a callback function as a Notification object.
Notification
Link copied to clipboard
Base interface for passing an event of type T to a callback function.
Subscription
Link copied to clipboard
interface Subscription
Content copied to clipboard
Represents a subscription to some event type.
Webcom Abstract Service
Link copied to clipboard
abstract class WebcomAbstractService
Content copied to clipboard
Base class for the Webcom services such as AuthenticationService or DatasyncService.
Webcom Application
Link copied to clipboard
class WebcomApplication
Content copied to clipboard
Represents a Webcom application.
Webcom Configuration
Link copied to clipboard
data class WebcomConfiguration @JvmOverloads constructor(identifier: String, platform: URL?, offlineCache: String?, startOnline: Boolean, websocketProtocol: WebcomConfiguration.WebsocketProtocol, pingDelayMs: Int?, pongDelayMs: Int?)
Content copied to clipboard
Represents the settings of a WebcomApplication instance.
Webcom Done Callback
Link copied to clipboard
Shortcut type for callbacks that return nothing and that may fail.
Webcom Result
Link copied to clipboard
Wraps the result of a computation of type T.
Webcom Result Callback
Link copied to clipboard
Shortcut type for callbacks that return an object of a given type and that may fail.